package com.cxl.feign;

import com.cxl.feign.hystrix.BaseFeignHystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author: 20971
 * @time: 2022/3/16 10:47
 * @description:
 */
@FeignClient(name = "base-server",fallback = BaseFeignHystrix.class)
public interface BaseFeign {

    @GetMapping(value = "/type/gettypelist")
    public List gettypelist();

}
